package com.leizi.igym.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Author: leizi0110
 * @CreateTime: 2024-04-04  11:50
 * @Description:
 */

@ConfigurationProperties(prefix = "qcloud")
@Configuration
@Data
public class COSProperties {
    private String secretId;
    //API密钥secretKey
    private String secretKey;
    //存储桶所属地域
    private String region;
    //存储桶空间名称
    private String bucketName;
    //存储桶访问域名
    private String url;
    //上传文件前缀路径(eg:/images/)
    private String prefix;

}
